package com.ruoyi.basedocument.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * BOM特殊物料对象 t_bom_specialmaterial
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
public class BomSpecialmaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialnumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialname;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String baseunitnumber;

    /** 计量单位名称 */
    @Excel(name = "计量单位名称")
    private String baseunitname;

    /** 助记码 */
    @Excel(name = "助记码")
    private String barcode;

    /** 物料分类一级编码 */
    @Excel(name = "物料分类一级编码")
    private String group1number;

    /** 物料分类一级名称 */
    @Excel(name = "物料分类一级名称")
    private String group1name;

    /** 物料分类二级编码 */
    @Excel(name = "物料分类二级编码")
    private String group2number;

    /** 物料分类二级名称 */
    @Excel(name = "物料分类二级名称")
    private String group2name;

    /** 物料分类三级编码 */
    @Excel(name = "物料分类三级编码")
    private String group3number;

    /** 物料分类三级名称 */
    @Excel(name = "物料分类三级名称")
    private String group3name;

    /** 物料分类四级编码 */
    @Excel(name = "物料分类四级编码")
    private String group4number;

    /** 物料分类四级名称 */
    @Excel(name = "物料分类四级名称")
    private String group4name;

    /** 折只数 */
    @Excel(name = "折只数")
    private String qtytoegg;

    /** 折蛋数 */
    @Excel(name = "折蛋数")
    private String qtytodumpling;

    /** 折饼数 */
    @Excel(name = "折饼数")
    private String qtytocake;

    /** 箱规 */
    @Excel(name = "箱规")
    private String boxspecification;

    /** 是否特殊物料 */
    @Excel(name = "是否特殊物料")
    private String isspecialmaterial;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 简称 */
    @Excel(name = "简称")
    private String simplename;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxrate;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private Date updatetime;

    /** 备用字段1 */
    private String spare1;

    /** 备用字段2 */
    private String spare2;

    /** 备用字段3 */
    private String spare3;

    /** 备用字段4 */
    private String spare4;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getSpare1() {
        return spare1;
    }

    public void setSpare1(String spare1) {
        this.spare1 = spare1;
    }

    public String getSpare2() {
        return spare2;
    }

    public void setSpare2(String spare2) {
        this.spare2 = spare2;
    }

    public String getSpare3() {
        return spare3;
    }

    public void setSpare3(String spare3) {
        this.spare3 = spare3;
    }

    public String getSpare4() {
        return spare4;
    }

    public void setSpare4(String spare4) {
        this.spare4 = spare4;
    }

    public String getId()
    {
        return id;
    }
    public void setMaterialnumber(String materialnumber) 
    {
        this.materialnumber = materialnumber;
    }

    public String getMaterialnumber()
    {
        return materialnumber;
    }
    public void setMaterialname(String materialname) 
    {
        this.materialname = materialname;
    }

    public String getMaterialname() 
    {
        return materialname;
    }
    public void setBaseunitnumber(String baseunitnumber) 
    {
        this.baseunitnumber = baseunitnumber;
    }

    public String getBaseunitnumber() 
    {
        return baseunitnumber;
    }
    public void setBaseunitname(String baseunitname) 
    {
        this.baseunitname = baseunitname;
    }

    public String getBaseunitname() 
    {
        return baseunitname;
    }
    public void setGroup1number(String group1number) 
    {
        this.group1number = group1number;
    }

    public String getGroup1number() 
    {
        return group1number;
    }
    public void setGroup1name(String group1name) 
    {
        this.group1name = group1name;
    }

    public String getGroup1name() 
    {
        return group1name;
    }
    public void setGroup2number(String group2number) 
    {
        this.group2number = group2number;
    }

    public String getGroup2number() 
    {
        return group2number;
    }
    public void setGroup2name(String group2name) 
    {
        this.group2name = group2name;
    }

    public String getGroup2name() 
    {
        return group2name;
    }
    public void setGroup3number(String group3number) 
    {
        this.group3number = group3number;
    }

    public String getGroup3number() 
    {
        return group3number;
    }
    public void setGroup3name(String group3name) 
    {
        this.group3name = group3name;
    }

    public String getGroup3name() 
    {
        return group3name;
    }
    public void setGroup4number(String group4number) 
    {
        this.group4number = group4number;
    }

    public String getGroup4number() 
    {
        return group4number;
    }
    public void setGroup4name(String group4name) 
    {
        this.group4name = group4name;
    }

    public String getGroup4name() 
    {
        return group4name;
    }
    public void setIsspecialmaterial(String isspecialmaterial) 
    {
        this.isspecialmaterial = isspecialmaterial;
    }

    public String getIsspecialmaterial() 
    {
        return isspecialmaterial;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setSimplename(String simplename) 
    {
        this.simplename = simplename;
    }

    public String getSimplename() 
    {
        return simplename;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setTaxrate(BigDecimal taxrate) 
    {
        this.taxrate = taxrate;
    }

    public BigDecimal getTaxrate() 
    {
        return taxrate;
    }

    public String getQtytoegg() {
        return qtytoegg;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public void setQtytoegg(String qtytoegg) {
        this.qtytoegg = qtytoegg;
    }

    public String getQtytodumpling() {
        return qtytodumpling;
    }

    public void setQtytodumpling(String qtytodumpling) {
        this.qtytodumpling = qtytodumpling;
    }

    public String getQtytocake() {
        return qtytocake;
    }

    public void setQtytocake(String qtytocake) {
        this.qtytocake = qtytocake;
    }

    public String getBoxspecification() {
        return boxspecification;
    }

    public void setBoxspecification(String boxspecification) {
        this.boxspecification = boxspecification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialnumber", getMaterialnumber())
            .append("materialname", getMaterialname())
            .append("baseunitnumber", getBaseunitnumber())
            .append("baseunitname", getBaseunitname())
            .append("group1number", getGroup1number())
            .append("group1name", getGroup1name())
            .append("group2number", getGroup2number())
            .append("group2name", getGroup2name())
            .append("group3number", getGroup3number())
            .append("group3name", getGroup3name())
            .append("group4number", getGroup4number())
            .append("group4name", getGroup4name())
            .append("isspecialmaterial", getIsspecialmaterial())
            .append("description", getDescription())
            .append("simplename", getSimplename())
            .append("specifications", getSpecifications())
            .append("taxrate", getTaxrate())
            .toString();
    }
}
